<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
    <style>
        /* 全局样式 */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft Yahei', sans-serif;
            background: linear-gradient(135deg, #e0f7fa, #f3e5f5);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            color: #333;
        }

        .card {
            background: white;
            width: 100%;
            max-width: 400px;
            padding: 30px 25px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        h1 {
            text-align: center;
            margin-bottom: 24px;
            font-weight: 600;
            color: #374151;
        }

        .main-nav {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1rem;
        }

        .nav-item {
            padding: 15px;
            background: #f3f4f6;
            border-radius: 6px;
            text-align: center;
            transition: all 0.3s;
        }

        .nav-item:hover {
            background: #e5e7eb;
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        a {
            color: #15576b;
            text-decoration: none;
        }
    </style>
</head>
<body>

<div class="card">
    <h1>欢迎来到我的网站！</h1>
    <nav class="main-nav">
        <a href="guest.jsp" class="nav-item">游客登录</a>
        <a href="login.jsp" class="nav-item">用户登录</a>
        <a href="register.jsp" class="nav-item">立即注册</a>
    </nav>
</div>

</body>
</html>
